/**
 * 申请
 * @author liaosh
 * @date 2022-10-15 22:25
 */
public class Request {

    /**
     * 申请类型：
     * 1、请假
     * 2、调薪
     */
    private Integer requestType;

    /**
     * 申请内容
     */
    private String requestContent;

    /**
     * 数量（请假、加薪数量）
     */
    private double number;

    public Integer getRequestType() {
        return requestType;
    }

    public void setRequestType(Integer requestType) {
        this.requestType = requestType;
    }

    public String getRequestContent() {
        return requestContent;
    }

    public void setRequestContent(String requestContent) {
        this.requestContent = requestContent;
    }

    public double getNumber() {
        return number;
    }

    public void setNumber(double number) {
        this.number = number;
    }

    public String getRequestTypeStr() {
        String res = "";
        switch (requestType) {
            case 1:
                res = "请假";
                break;
            case 2:
                res = "调薪";
                break;
        }
        return res;
    }
}
